package pr.iceworld.fernando.seller.web;

import org.activiti.engine.RepositoryService;
import org.activiti.engine.RuntimeService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/activiti")
public class ActivitiController {

    @Resource
    RepositoryService repositoryService;
    @Resource
    RuntimeService runtimeService;

    @RequestMapping("/startProcess")
    public String startProcess(String bizKey) {

        return "startProcess";
    }
}
